<{include file ="header.tpl"}>
<{include file ="navibar.tpl"}>
<{include file ="sidebar.tpl"}>

<!--- START 以上内容不需更改，保证该TPL页内的标签匹配即可 --->

<{$osadmin_action_alert}>
<{$osadmin_quick_note}>

</div>
    <a href="statistics_list.php?method=download" style="display:block;border:1px solid #08c;width:120px;height:20px;text-align:center;">导出未拜访客户</a>
    <div class="block">
	<a href="#page-stats" class="block-heading" data-toggle="collapse">未拜访报警列表</a>
	<div id="page-stats" class="block-body collapse in">
		<table class="table table-striped">
			<thead>
			<tr>
				<th>#</th>
				<th>序列号</th>
				<th>主机货号</th>
				<th>工程师</th>
				<th>拜访记录3个月未更新</th>
				<th>最好一次拜访记录时间</th>
				<th width="80px">操作</th>
			</tr>
			</thead>
			<tbody>							  
			<{foreach name=machine from=$machines item=machine}>		 
				<tr>
					<td><{$machine.machine_id}></td>
					<td><{$machine.serial_number}></td>
					<td><{$machine.host_number}></td>  
					<td><{$machine.engineer}></td>
					<td style="color:red;"><{$machine.tips}></td>
					<td><{$machine.last_time}></td>
					<td>
						<a href="machine_modify.php?method=modify&machine_id=<{$machine.machine_id}>" title="修改" ><i class="icon-pencil"></i></a>
					</td>
				</tr>
			<{/foreach}>
		  </tbody>
		</table>  
	</div>
	<!--- START 分页模板 --->
            <{$page_html}>
    <!--- END --->
</div>
<!---操作的确认层，相当于javascript:confirm函数--->
<{$osadmin_action_confirm}>

<!--- END 以下内容不需更改，请保证该TPL页内的标签匹配即可 --->
<{include file="footer.tpl" }>